package com.ys.chatserver.im.dto;

/**
 * 通知类型枚举
 * @author Qxin
 */

public enum NotifyEnum {
    /**
     * 类型 1：发消息成功  2：消息推送 3:发消息失败 4:停止发消息  5：推视频成功 6:停止推视频
     */

    ONE(1, "发消息成功"),
    TWO(2, "消息推送"),
    THREE(3, "发消息失败"),
    FOUR(4, "停止发消息"),
    FIVE(5, "推视频给其他人"),
    SIX(6, "停止推视频"),
    SEVEN(7, "推视频成功"),
    EIGHT(8, "订阅gps成功"),
    NINE(9, "取消订阅gps成功"),
    TEN(10, "查询视频成功"),
    ELEVEN(11, "查询视频不存在"),
    TWELVE(12, "发送全局广播"),
    THIRTEEN(13, "发送全局广播成功"),
    FOURTEEN(14, "发送全局广播失败"),
    FIVETEEN(15, "发送一键到底广播成功"),
    SIXTEEN(16, "发送一键到底广播失败"),
    SEVENTEEN(17, "发送一键到底"),
    EIGHTEEN(18, "发送者不再频繁发送语音");

    /**
     * 类型
     */
    private final Integer type;
    /**
     * 内容
     */
    private final String msg;

    NotifyEnum(Integer type, String msg) {
        this.type = type;
        this.msg = msg;
    }
    public Integer getType() {
        return type;
    }

    public String getMsg() {
        return msg;
    }

}
